﻿using DLLPC.Utilities;
using PCBase.UIControls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VisionCore
{
    public class PRM_EQ
    {
        [DisplayName("机台参数: 设备速度"), Description("")]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public PRM_Speed Speed { get; set; } = new PRM_Speed();

        [DisplayName("机台参数: 伺服轴原点偏移量"), Description("")]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public PRM_HomeCrossDistance HomeCrossDistance { get; set; } = new PRM_HomeCrossDistance();

        //[DisplayName("机台参数: 载出冶具"), Description("")]
        //[TypeConverter(typeof(PropertiesExpandConverter))]
        //public PRM_PanelInfo Panel { get; set; } = new PRM_PanelInfo();

        [DisplayName("功能选择: 机械手上臂开启"), Description(""), ReadOnly(true)]
        public bool RBUpperEnable { get; set; } = true;

        [DisplayName("功能选择: 机械手下臂开启"), Description(""), ReadOnly(true)]
        public bool RBLowerEnable { get; set; } = true;

        [DisplayName("功能选择: PA开启"), Description(""), ReadOnly(true)]
        public bool PAEnable { get; set; } = true;

        [DisplayName("功能选择: PB开启"), Description(""), ReadOnly(true)]
        public bool PBEnable { get; set; } = true;

        public override string ToString()
        {
            return "...";
        }
    }

    
}
